home *** CD-ROM | disk | FTP | other *** search
- echo off
- if not "%1"=="" goto scan
- echo WHATARC - Scanning contents of matching files to indentify if archive
- echo USAGE: WHATARC opt1 opt2..
- echo Where "opt" can be a filespec or any option
- echo e.g. WHATARC *.* Scan all files in current directory
- echo WHATARC /T Scan all files " " " dated today
- echo WHATARC /W}30k PR* Scan whole drive for files gt 30k matching PR*
- goto exit
- :scan
- D /'@x1A@x02'0sDf [---PKARC/SEA/PKPAK archives://(($T$w//][(No PKARC/SEA/PKPAK)//]J %1 %2 %3 %4 %5 %6 %7 %8 %9
- D /'@x60@xEA@x28'0sDf [---ARJ archives://(($T$w//][(No ARJ)//]J %1 %2 %3 %4 %5 %6 %7 %8 %9
- D /'@x50@x4B@x03@x04'0sDf [---PKZIP archives://(($T$w//][(No PKZIP)//]J %1 %2 %3 %4 %5 %6 %7 %8 %9
- D /'-lh'2sDf [---LHA/LHARC archives://(($T$w//][(No LHA/LHARC)//]J %1 %2 %3 %4 %5 %6 %7 %8 %9
- D /'ZOO'0sDf [---ZOO archives://(($T$w//][(No ZOO)//]J %1 %2 %3 %4 %5 %6 %7 %8 %9
- :exit
-